//
//  HWZNColor.m
//  HeWeiZhiNeng
//
//  Created by 林建 on 17/11/30.
//  Copyright © 2017年 YanCeyMichael.github.io. All rights reserved.
//

#import "HWZNColor.h"

@implementation HWZNColor

static HWZNColor *_instance;

+ (instancetype)sharedHWZNColor
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [[HWZNColor alloc] init];
    });
    return _instance;
}

+ (id)allocWithZone:(struct _NSZone *)zone
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _instance = [super allocWithZone:zone];
    });
    return _instance;
}

- (instancetype)init
{
    if (self = [super init]) {
        [self configColor];
    }
    return self;
}

- (void)configColor
{
    _back = UIColorFromRGB(0xf3f3f3);
    _line = UIColorFromRGB(0xdcdcdc);
    _stub = UIColorFromRGB(0xa0a0a0);
    _sure = UIColorFromRGB(0xff0000);
    _theme = UIColorFromRGB(0x2c3039);
    _cancel = UIColorFromRGB(0x6b6b6b);
    _fullBtnTitle = UIColorFromRGB(0xffffff);
    _selected_blue = UIColorFromRGB(0x027cfd);
}

@end
